<%- include header %>
	<p>
	  <form action="/posts/<%= post._id %>" method="post">
	    <input type="hidden" name="_method" value="delete">
	    <% if(user && user.username == post.user.username){ %>
			<span><a class="edit" href="/posts/<%= post._id %>/edit">编辑</a></span>
	    	<input class="edit" type="submit" data-confirm='Are you sure?' value="删除" >
	    	<span><a class="edit" href="/posts/reprint/<%= post._id %>">转载</a></span>
		<% } %>
	  </form>
	</p>
	<p class="info">
	  作者：<a href="/u/<%= post.user.username %>"><%= post.user.username %></a> | 
	  日期：<%= post.createdAt %>
	</p>
	<p><%- post.content %></p>
	<p class="info">阅读：<%= post.pv %></p>

	<%- include comment %>
<%- include footer %>